package org.bigdata.framework.core.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * <p>
 * 
 * </p>
 *
 * @author dal.anhuifeng
 * @since 2017-11-25
 */
@TableName("data_recovery")
public class DataRecovery implements Serializable {

    private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId(type = IdType.AUTO)
	private Integer id;

	/**
	 * 创建人
	 */
	@TableField(value="create_user")
	private String createUser;

	/**
	 * 恢复日期
	 */
	@TableField(value="create_time")
	private String createTime;

	/**
	 * 知识库名称
	 */
	@TableField(value="classes_en")
	private String classesEn;

	/**
	 * 数据恢复文件
	 */
	@TableField(value="file_path")
	private String filePath;

	/**
	 * 数据起始ID
	 */
	@TableField(value="data_id_start")
	private String dataIdStart;

	/**
	 * 数据终止ID
	 */
	@TableField(value="data_id_end")
	private String dataIdEnd;

	/**
	 * 仓储库数据总量
	 */
	@TableField(value="repository_count")
	private Integer repositoryCount;

	/**
	 * 恢复数据量
	 */
	@TableField(value="recovery_count")
	private Integer recoveryCount;

	/**
	 * 状态（0-恢复中 1-恢复完成）
	 */
	private Integer status;



	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getCreateUser() {
		return createUser;
	}

	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public String getClassesEn() {
		return classesEn;
	}

	public void setClassesEn(String classesEn) {
		this.classesEn = classesEn;
	}

	public String getFilePath() {
		return filePath;
	}

	public void setFilePath(String filePath) {
		this.filePath = filePath;
	}

	public String getDataIdStart() {
		return dataIdStart;
	}

	public void setDataIdStart(String dataIdStart) {
		this.dataIdStart = dataIdStart;
	}

	public String getDataIdEnd() {
		return dataIdEnd;
	}

	public void setDataIdEnd(String dataIdEnd) {
		this.dataIdEnd = dataIdEnd;
	}

	public Integer getRepositoryCount() {
		return repositoryCount;
	}

	public void setRepositoryCount(Integer repositoryCount) {
		this.repositoryCount = repositoryCount;
	}

	public Integer getRecoveryCount() {
		return recoveryCount;
	}

	public void setRecoveryCount(Integer recoveryCount) {
		this.recoveryCount = recoveryCount;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

}
